﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Data.SqlClient;

namespace CitizenDiary.Sync.Contract
{
    //[DataContract]
    //public class ServerDiaryItem
    //{
    //    [DataMember]
    //    public string Content { get; set; }

    //    [DataMember]
    //    public int UpdatedVersion { get; set; }
        
    //    [DataMember]
    //    public Guid UpdatedDeviceID { get; set; }
        
    //    [DataMember]
    //    public bool IsDeleted { get; set; }

    //    public ServerDiaryItem()
    //    {
    //    }

    //    public ServerDiaryItem(SqlDataReader reader)
    //    {
    //        Content = (string)reader["Content"];
    //        UpdatedVersion = (int)reader["UpdatedVersion"];
    //        UpdatedDeviceID = (Guid)reader["UpdatedDeviceID"];
    //        IsDeleted = (bool)reader["IsDeleted"];
    //    }
    //}
}
